<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Babytivities</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Babytivities">

    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/font-awesome.css" rel="stylesheet">
    <link href="css/bbtvts.css" rel="stylesheet">
    <link href="css/datepicker.css" rel="stylesheet">
    <script src="js/addons/jquery-1.8.2.min.js"></script>
    <script src="js/bootstrap-datepicker.js"></script>
    <script type="text/javascript">
    	$('#dp1').datepicker({
				format: 'mm-dd-yyyy'
			});
    </script>
    <style type="text/css">
      body {
        padding-top: 20px;
        padding-bottom: 40px;
      }

    </style>
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
    <!-- Fav and touch icons -->
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
  </head>

  <body>

<!-----HEADER------>
<div class="header_block">
	<div class="container">
	      <div class="masthead">
		<a href="index.php">
			 <img src="img/bbtvts_logo.png" alt="babytivities" style="padding-top:10px;">
		</a>
		</div>
	</div>
</div>
<!------HEADER EOF-------->

 <div class="container">
	<div class="row">
<?php 
session_start();

if(isset($_SESSION['login'])) {
?>
		<div class="span12">
			<h2>Activate your account</h2>
			<form action="activate.php" method="post">
				<div class="control-group">
				    <label class="control-label" for="mail">Mail</label>
				    <div class="controls">
				      <input type="text" id="mail" name="mail" placeholder="Mail">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="password">Old Password</label>
				    <div class="controls">
				      <input type="password" id="password" name="password" placeholder="Password">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="newpassword">New Password</label>
				    <div class="controls">
				      <input type="password" id="newpassword" name="newpassword" placeholder="New Password">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="gender">Sex</label>
				    <div class="controls">
				      <input type="text" id="gender" name="gender" placeholder="Sex">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="birthDate">Birth Date</label>
				    <div class="controls">
				      <!-- <input type="text" id="birthDate" name="birthDate" placeholder="Birth Date"> -->
				  		<input type="text" class="span2" value="02-16-2012" id="dp1">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="mobileNo">Mobile Number</label>
				    <div class="controls">
				      <input type="text" id="mobileNo" name="mobileNo" placeholder="Mobile Number">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="babyName">Baby Name</label>
				    <div class="controls">
				      <input type="text" id="babyName" name="babyName" placeholder="Baby Name">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="babyBirthDate">Baby Birth Date</label>
				    <div class="controls">
				      <input type="text" id="babyBirthDate" name="babyBirthDate" placeholder="Baby Birth Date">
				    </div>
				  </div>
				  <div class="control-group">
				    <div class="controls">
				      <button type="submit" class="btn btn-success">Sign Up</button>
				    </div>
				  </div>
			</form>
		</div>
<?php }else{ ?>	
		<div class="span11">
			<h2>Login</h2>
			<form name="login" action="login.php" method="post" class="form-horizontal">
			  <div class="control-group">
			    <label class="control-label" for="username">Username</label>
			    <div class="controls">
			      <input type="text" name="username" id="username" placeholder="Username">
			    </div>
			  </div>
			  <div class="control-group">
			    <label class="control-label" for="password">Password</label>
			    <div class="controls">
			      <input type="password" name="password" id="password" placeholder="Password">
			    </div>
			  </div>
			  <div class="control-group">
			    <div class="controls">
			      <button type="submit" class="btn btn-success">Sign Up</button>
			    </div>
			  </div>
			</form>
		</div>

<?php }?>	

</div>
 </div><!--container--->
<?php include "footer.php"; ?>
